package com.mt.channel.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class ChannelAccountEntity implements Serializable,Cloneable {
    /**
     *
     */
    private static final long serialVersionUID = 8400633486743230260L;

    private Integer channelAccountId;

    private Integer channelId;

    private Integer status;

    private BigDecimal balance;

    private BigDecimal balanceWithdrawal;

    private BigDecimal balanceNonWithdrawal;

    private Date createTime;

    private Date updateTime;

    private List<ChannelAccountLogEntity> channelAccountLogList;

    private List<ChannelOrderEntity> channelOrderEntityList;

    public List<ChannelOrderEntity> getChannelOrderEntityList() {
        return channelOrderEntityList;
    }

    public void setChannelOrderEntityList(List<ChannelOrderEntity> channelOrderEntityList) {
        this.channelOrderEntityList = channelOrderEntityList;
    }

    @Override
    public Object clone() {
        ChannelAccountEntity channelAccountEntity = null;
        try{
            channelAccountEntity = (ChannelAccountEntity)super.clone();
        }catch(CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return channelAccountEntity;
    }

    private ChannelOrderEntity channelOrderEntity;

    public Integer getChannelAccountId() {
        return channelAccountId;
    }

    public void setChannelAccountId(Integer channelAccountId) {
        this.channelAccountId = channelAccountId;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getBalanceWithdrawal() {
        return balanceWithdrawal;
    }

    public void setBalanceWithdrawal(BigDecimal balanceWithdrawal) {
        this.balanceWithdrawal = balanceWithdrawal;
    }

    public BigDecimal getBalanceNonWithdrawal() {
        return balanceNonWithdrawal;
    }

    public void setBalanceNonWithdrawal(BigDecimal balanceNonWithdrawal) {
        this.balanceNonWithdrawal = balanceNonWithdrawal;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<ChannelAccountLogEntity> getChannelAccountLogList() {
        return channelAccountLogList;
    }

    public void setChannelAccountLogList(List<ChannelAccountLogEntity> channelAccountLogList) {
        this.channelAccountLogList = channelAccountLogList;
    }

    public ChannelOrderEntity getChannelOrderEntity() {
        return channelOrderEntity;
    }

    public void setChannelOrderEntity(ChannelOrderEntity channelOrderEntity) {
        this.channelOrderEntity = channelOrderEntity;
    }
}